<?php

abstract class Person {
  abstract protected function getSpeed();
  abstract protected function hear();
}

class Man extends Person{
  private $speed = 10;
  function getSpeed()
  {
    //$this->speed = 20;
    return $this->speed;
  }
}

$vikas  = new Man;
echo $vikas->getSpeed();
echo "\n\n";
